.class Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;
.super Ljava/lang/Object;
.source "DeleteFootprintsActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 225
    iput-object p1, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 226
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    #getter for: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mSortMode:I
    invoke-static {v0}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$200(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;)I

    move-result v0

    if-eq p2, v0, :cond_0

    .line 227
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    #calls: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->clearCheckState()V
    invoke-static {v0}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$300(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;)V

    .line 228
    packed-switch p2, :pswitch_data_0

    .line 238
    :goto_0
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    iget-object v0, v0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mFilter:Landroid/widget/Filter;

    iget-object v1, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mSearchEdit:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Filter;->filter(Ljava/lang/CharSequence;)V

    .line 240
    :cond_0
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 241
    return-void

    .line 230
    :pswitch_0
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    const-string v1, "name asc"

    #setter for: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mSortString:Ljava/lang/String;
    invoke-static {v0, v1}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$402(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;Ljava/lang/String;)Ljava/lang/String;

    .line 231
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    const/4 v1, 0x0

    #setter for: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mSortMode:I
    invoke-static {v0, v1}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$202(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;I)I

    goto :goto_0

    .line 234
    :pswitch_1
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    const-string v1, "create_time desc"

    #setter for: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mSortString:Ljava/lang/String;
    invoke-static {v0, v1}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$402(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;Ljava/lang/String;)Ljava/lang/String;

    .line 235
    iget-object v0, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$2;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    const/4 v1, 0x1

    #setter for: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mSortMode:I
    invoke-static {v0, v1}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$202(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;I)I

    goto :goto_0

    .line 228
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
